#ifndef MOVEEVENT_H
#define MOVEEVENT_H

#include "IGameEvent.h"
#include "MoveableObject.h"

enum DirectionType
{
	Direction_Left,
	Direction_Right
};

class MoveEvent :
	public IGameEvent
{
public:
	static const EventType type = EVENT_MOVE;
	MoveEvent(std::istrstream &in);
	MoveEvent(const MoveableObjectPtr obj, const DirectionType direction);
	~MoveEvent(void);
	virtual const EventType getEventType(void) const;
	virtual void serialize(std::ostrstream &out) const;
	MoveableObjectPtr mpObject;
	DirectionType mDirection;
};

#endif